HAL OPAMP state function migration

This section provides information about the HAL OPAMP function migration.

Gets the current state of the OPAMP.

HAL1

HAL2

hal_opamp_state_t HAL_OPAMP_GetState(const OPAMP_HandleTypeDef *hopamp);
hal_opamp_state_t HAL_OPAMP_GetState(const hal_opamp_handle_t *hopamp);